﻿using System.ComponentModel.Composition;
using System.Waf.Applications;
using BesAsm.Stormwater.Swmm5ResultsUi.Applications.ViewModels;

namespace BesAsm.Stormwater.Swmm5ResultsUi.Applications.Controllers
{
  [Export]
  internal class ApplicationController : Controller
  {
    private readonly ShellViewModel shellViewModel;

    [ImportingConstructor]
    public ApplicationController(ShellViewModel shellViewModel)
    {
      this.shellViewModel = shellViewModel;
    }

    public void Initialize()
    {
    }

    public void Run()
    {
      shellViewModel.Show();
    }

    public void Shutdown()
    {
    }
  }
}
